package com.qf.exception;



/**
 * 自定义的异常类
 */
public class CustomerException extends RuntimeException{
    private String code;//异常的状态码
    private String msg;//异常信息

    public CustomerException() {
    }
    public CustomerException(String code, String msg) {
        this.code = code;
        this.msg = msg;

    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
